import {UserModel} from "/@/api/system/model/UserModel";

export interface FlowQueryModel {
    bpmnStr: string
}

export interface FlowTaskQueryModel {
    name: string,
    current: number,
    size: number,
    total: number
}

export interface FlowTaskModel {
    name: string,
    taskName: string,
}

export interface FlowNodeQueryModel {
    instanceId: string,
    params?: object
}

export interface FlowInstanceModel {
    id: string,
    taskId: string,
    instanceId: string,
    executionId: string,
    definitionId: string,
    taskName: string,
    taskDefKey: string,
    businessId: string,
    businessSign: string,
    name: string,
    orgId: string,
    initiator: string,
    comId: string,
    createTime: string
}
export interface FlowNodeModel{
    name: string,
    id: string,
    isEnd: boolean,
    variables: object,
    users: Array<UserModel>
}
export interface NextTaskModel {
    nodes: FlowNodeModel[],
    variables: object
}

